package cn.zwx.member.svc.facade;

import cn.zwx.member.svc.fallback.MemberApiFallback;
import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author zhangwenxue
 */
@FeignClient(name = "member-svc",path = "/member")
public interface MemberServiceApi extends FallbackFactory<MemberApiFallback> {

    @PostMapping
    MemberApiFallback create(Throwable cause);

}
